package com.eascs.web.o2o.scheduler.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the o2o_platform_regional database table.
 * 
 */
@Entity
@Table(name="o2o_platform_regional")
@NamedQuery(name="O2oPlatformRegionalEntity.findAll", query="SELECT o FROM O2oPlatformRegionalEntity o")
public class O2oPlatformRegionalEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_time")
	private Date createTime;
	
	@Column(name="platform_id")
	private String platformId;

	@Column(name="platform_code")
	private String platformCode;

	@Column(name="platform_name")
	private String platformName;

	@Column(name="province_code")
	private String provinceCode;

	@Column(name="province_name")
	private String provinceName;

	@Column(name="regional_name")
	private String regionalName;

	@Column(name="group_name")
	private String groupName;

	@Column(name="natural_province_code")
	private String naturalProvinceCode;
	
	@Column(name="natural_city_code")
	private String naturalCityCode;
	
	@Column(name="level")
	private Integer level;
	
	
	public String getPlatformId() {
		return platformId;
	}

	public void setPlatformId(String platformId) {
		this.platformId = platformId;
	}

	public O2oPlatformRegionalEntity() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getPlatformCode() {
		return this.platformCode;
	}

	public void setPlatformCode(String platformCode) {
		this.platformCode = platformCode;
	}

	public String getPlatformName() {
		return this.platformName;
	}

	public void setPlatformName(String platformName) {
		this.platformName = platformName;
	}

	public String getProvinceCode() {
		return this.provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getProvinceName() {
		return this.provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getRegionalName() {
		return this.regionalName;
	}

	public void setRegionalName(String regionalName) {
		this.regionalName = regionalName;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getNaturalProvinceCode() {
		return naturalProvinceCode;
	}

	public void setNaturalProvinceCode(String naturalProvinceCode) {
		this.naturalProvinceCode = naturalProvinceCode;
	}

	public String getNaturalCityCode() {
		return naturalCityCode;
	}

	public void setNaturalCityCode(String naturalCityCode) {
		this.naturalCityCode = naturalCityCode;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}
	
}